package com.hs.biye.service;

import com.hs.biye.model.DTO.BedRequest;
import com.hs.biye.model.VO.BedVo;
import com.hs.biye.model.entity.Bed;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hs.biye.model.reslut.ResultPage;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

/**
* @author haoshuai
* @description 针对表【bed】的数据库操作Service
* @createDate 2024-02-18 12:36:37
*/
public interface BedService extends IService<Bed> {
    ResultPage<BedVo> getPageBed(BedRequest medicineRequest);

    boolean removeBed(Integer id);

    boolean addBed(BedRequest bedRequest);


    boolean updateBed(BedRequest bedRequest);

    List<Map<String, Integer>> getBedNum(Integer roomId);

    List<BedVo> getBedNumAdnBedId(Integer roomId);

    BedVo getOneById(Integer id);

}
